package cn.itlaobing.shopping.service.impl;

import cn.itlaobing.shopping.model.UserPra;
import cn.itlaobing.shopping.service.UserSerPra;

/**
 * Created by Administrator on 2017/11/2.
 */
public class UserSerImp implements UserSerPra{
    @Override
    public UserPra authentication(String uname, String upwd) {
        if("li".equals(uname) && "li".equals(upwd)){
            UserPra up=new UserPra();
            up.setUname(uname);
            up.setUpwd(upwd);
            return up;
        }
        return null;
    }
}
